set(RENDER_SRC
    Engine/DrawingEngine.h
    Engine/DrawingEngine.cpp
    Engine/DrawingPrimitives.h
    Engine/DrawingPrimitives.cpp
    Model/Model.h
    Model/Model.cpp
    Model/ModelFace.h
    Model/ModelH.h
    Model/ModelH.cpp
    Model/ModelVertex.h
    Model/ModelVertexH.h
    Model/tinyobj.h
    Model/tinyobj.cc
    Model/tinyply.h
    Model/tinyply.cc
    Objects/ImageRender.h
    Objects/Renderer3DObject.h
    Objects/Renderer3DView.h
    Others/PerseusLibDefines.h
    Primitives/Camera3D.h
    Primitives/Image.h
    Primitives/Vector2D.h
    Primitives/Vector3D.h
    Primitives/Vector4D.h
    Transforms/CameraCoordinateTransform.h
    Transforms/CameraCoordinateTransform.cpp
    Utils/MathUtils.h
    Utils/MathUtils.cpp
    render.h
    render.cpp
)

add_library(render ${RENDER_SRC})
target_link_libraries(render PUBLIC Eigen3::Eigen)
source_group("" FILES ${RENDER_SRC})